package com.wcsy.myblog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wcsy.myblog.entity.Collect;

import java.util.List;

public interface CollectMapper extends BaseMapper<Collect> {
    /**
     * 查询该文章被几人收藏
     * @param articleId
     * @return
     */
    List<Collect> selectCount(int articleId );
}
